package com.way.constants;

/**
 * 通用常量信息
 *
 * @author ruoyi
 */
public class CommonConstants {
    /**
     * UTF-8 字符集
     */
    public static final String UTF8 = "UTF-8";

    /**
     * 自动去除表前缀
     */
    public static final String AUTO_REMOVE_PRE = "true";

    /**
     * 当前记录起始索引
     */
    public static final String PAGE_NUM = "pageNum";

    /**
     * 每页显示记录数
     */
    public static final String PAGE_SIZE = "pageSize";

    /**
     * 排序列
     */
    public static final String ORDER_BY_COLUMN = "sortField";

    /**
     * 排序的方向 "desc" 或者 "asc".
     */
    public static final String IS_ASC = "sortOrder";

    public static final String CURRENT_ID = "current_id";

    public static final String CURRENT_USERNAME = "current_username";

    public static final String TOKEN_KEY_STRING = "token";

    public static final String DEFAULT_CODE_KEY = "random_code_";

    public final static String ACCESS_TOKEN = "access_token_";

    public final static String ACCESS_USER_ID = "access_user_id_";

    public static final String RESOURCE_PREFIX = "/profile";

    public static final String USER_DELETE_FLAG = "1";

    public static final String USER_DISABLE_FLAG = "1";
}
